package com.design.chainofresponsibility;

/**
 * @author leali
 * @title: Congress
 * @projectName design
 * @description: 董事会类：具体处理者
 * @date 2022/1/3 1:59
 */
public class Congress extends Approver {
    public Congress(String name) {
        super(name);
    }

    @Override
    public void processRequest(PurchaseRequest request) {
        System.out.println("召开董事会审批采购单：" + request.getNumber() + "，金额：" + request.getAmount() + "元，采购目的：" + request.getPurpose() + "。");
    }
}
